﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XrmLibrary.MsCrm4Adapter.Extensions
{
    public static class IntegerExtensions
    {
        public static Microsoft.Crm.Sdk.CrmNumber ToCrmNumber(this Int32 integer)
        {
            Microsoft.Crm.Sdk.CrmNumber crmNumber = new Microsoft.Crm.Sdk.CrmNumber();
            crmNumber.Value = integer;

            return crmNumber;
        }
    }
}
